package com.itcoon.transform.starter.context.annotation;

import com.itcoon.transform.starter.config.TransformBeanConfig;
import com.itcoon.transform.starter.context.AssembleScannerRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <p> </p>
 *
 * @author 俞淼霞
 * @since 2019-09-24
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({AssembleScannerRegister.class, TransformBeanConfig.class})
public @interface EnableTransform4j {

    /**
     * @return 一组定义装配
     */
    AssembleGroup[] groups();

    /**
     * @return 是否支持临时加载，
     */
    boolean allowTemporary() default false;
}
